package com.dlut.service;

import com.dlut.dto.CustomerDto;
import com.dlut.pojo.Customer;
import org.springframework.ui.Model;

import java.util.List;

public interface ICustomerService {
    //获取添加客户需要的数据
    void getUpdateInfo(Integer id, Model model)throws Exception;

    Integer save(Customer customer)throws Exception;

    List<CustomerDto> query(Customer customer)throws Exception;

    void update(Customer customer);

    String checkCustomer(Integer id);

    void deleteById(Integer id);
}
